<table id="data-load" class="yx-course-info" >
        <tr>
            <td>会员：</td>
            <td><?=isset($model->customer)?$model->customer->name:''?></td>
            <td>订单号：</td>
            <td><?=$model->code?></td>
        </tr>
        <tr>
            <td>订单商品：</td>
            <td><?=isset($model->ordersItem)?$model->ordersItem->name:''?></td>
            <td>保证金金额：</td>
            <td><?=$model->money?>元</td>
        </tr>
        <tr>
            <td>支付方式：</td>
            <td><?=($model->payment)?$model->payment->name:''?></td>
            <td>支付时间：</td>
            <td><?=\Yii::$app->formatter->asDatetime($model->created_at)?></td>
        </tr>
        <tr>
            <td>是否退：</td>
            <td><?=($model->status==0)?'否':'是'?></td>
            <td>单号：</td>
            <td><?=$model->code?></td>
        </tr>
        <tr>
            <td>实退金额：</td>
            <td><?=$model->actual_money?>元</td>
            <td>操作人：</td>
            <td><?=$model->operator_name?></td>
        </tr>
        <tr>
            <td>申请时间：</td>
            <td><?=($model->application_time)>0?\Yii::$app->formatter->asDatetime($model->application_time):'未申请'?></td>
            <td>退款时间：</td>
            <td>
                <?php
                   if($model->application_time == 0 && $model->processing_time == 0){
                       echo '未申请';
                   }elseif($model->application_time > 0 && $model->processing_time == 0){
                       echo '未处理';
                   }else{
                       echo \Yii::$app->formatter->asDatetime($model->processing_time);
                   }
                ?>
            </td>
        </tr>
        <tr>
            <td>备注：</td>
            <td><?=$model->remarks?></td>
            <td>处理状态：</td>
            <td><?php
                switch($model->processing_status){
                    case 0:
                        echo '正常';
                        break;
                    case 1:
                        echo '申请';
                        break;
                    case 2:
                        echo '审核中';
                        break;
                    case 3:
                        echo '通过';
                        break;
                    case 4:
                        echo '失败';
                        break;
                    case 5:
                        echo '转学费';
                        break;
                }

                ?></td>
        </tr>
    </table>

